package o2o.dao.PO.order;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: yangtongkuan
 * Date: 2019/2/20
 * Time: 11:14
 * Description: No Description
 */
//CREATE TABLE `order_cancel_info` (
//        `id` INT(11) NOT NULL AUTO_INCREMENT COMMENT '标识 订单信息',
//        `orderNo` VARCHAR(30) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '订单编号',
//        `parentOrderNo` VARCHAR(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '上级订单编号',
//        `orderType` INT(2) DEFAULT NULL COMMENT '订单类型  6退款订单',
//        `shopId` INT(11) NOT NULL COMMENT '店铺ID',
//        `username` BIGINT(15) NOT NULL DEFAULT '0' COMMENT '提交订单的用户账号',
//        `image1Url` VARCHAR(255) DEFAULT NULL COMMENT '图片1',
//        `image2Url` VARCHAR(255) DEFAULT NULL COMMENT '图片2',
//        `image3Url` VARCHAR(255) DEFAULT NULL COMMENT '图片3',
//        `image4Url` VARCHAR(255) DEFAULT NULL COMMENT '图片4',
//        `backReason` VARCHAR(256)  DEFAULT NULL COMMENT '退货的原因',
//        `reBackReason` VARCHAR(256) DEFAULT NULL COMMENT '拒绝退货的原因',
//        `backTotalCount` INT(5) NOT NULL COMMENT '退还商品数量(几件商品)',
//        `backTotalMoney` DECIMAL(10,2) DEFAULT NULL COMMENT '退款总金额',
//        `backTotalGoodsMoney` DECIMAL(10,2) DEFAULT NULL COMMENT '商品退款总金额',
//        `backTotalPacketMoney` DECIMAL(10,2) DEFAULT NULL COMMENT '打包费退款总金额',
//        `fcBackTotalMoney` DECIMAL(10,2) DEFAULT NULL COMMENT '实际退款总金额',
//        `fcBackTotalGoodsMoney` DECIMAL(10,2) DEFAULT NULL COMMENT '实际商品退款总金额',
//        `fcBackTotalPacketMoney` DECIMAL(10,2) DEFAULT NULL COMMENT '实际打包费退款总金额',
//        `reBackTime` BIGINT(15) DEFAULT NULL COMMENT '拒绝退款时间',
//        `AgreeBackTime` BIGINT(15) DEFAULT NULL COMMENT '同意退宽时间',
//        `currencyUnit` VARCHAR(5)  DEFAULT NULL COMMENT '货币单位',
//        `exchangeRate` DECIMAL(10,2) DEFAULT '0.00' COMMENT '金额汇率',
//        `fcTotalPrice` DECIMAL(10,2) DEFAULT '0.00' COMMENT '实际退款金额（主要是显示为美元）',
//        `delFlag` INT(1) NOT NULL DEFAULT '0' COMMENT '是否已删除(0未删除,1已删除)',
//        `createUser` VARCHAR(22)  DEFAULT NULL COMMENT '创建者',
//        `createTime` BIGINT(15) NOT NULL COMMENT '创建日期  141231212423423时间戳毫秒级标识',
//        `updateUser` VARCHAR(22)  DEFAULT NULL COMMENT '最后更新或者',
//        `updateTime` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
//        `note` VARCHAR(1000)  DEFAULT NULL COMMENT '订单备注',
//        `isPartCancelApply` INT(1) DEFAULT '0' COMMENT '用户申请退款  0未申请退款 4申请退款中 5申请退款成功 6申请退款未通过',
//        `refundNo` VARCHAR(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '退款编号（用户再次查询是否退款成功使用）',
//        `extra1` VARCHAR(128) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '备用字段1',
//        `extra2` VARCHAR(128) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '备用字段2',
//        `extra3` VARCHAR(128) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '备用字段3',
//        PRIMARY KEY (`id`),
//        UNIQUE KEY `order_info_order_no` (`orderNo`),
//        KEY `order_info_orderno_index` (`orderNo`),
//        KEY `order_info_shopId_index` (`shopId`),
//        KEY `order_info_username_index` (`username`)
//        ) ENGINE=INNODB DEFAULT CHARSET=utf8
public class OrderCancelInfo {
    private Long id;                    //标识
    private String orderNo;            // 订单编号
    private String parentOrderNo;      // 上级订单编号
    private Integer orderType;          // 订单类型
    private Long shopId;                // 店铺id
    private String username;            // 购买者账号
    private String image1Url;           // 图片
    private String image2Url;
    private String image3Url;
    private String image4Url;
    private String backReason;          // 退货原因
    private String reBackReason;        // 拒绝退货原因
    private Integer backTotalCount;     // 退货件数
    private Double backTotalMoney;      // 退货钱数
    private Double backTotalGoodsMoney; // 商品退货总钱数
    private Double backTotalPacketMoney;// 打包费退款总钱数
    private Double fcBackTotalMoney;    // 实际退款钱数
    private Double fcBackTotalGoodsMoney;  // 实际商品退款钱数
    private Double fcBackTotalPacketMoney; // 实际退还打包费钱数
    private Long reBackTime;                // 拒绝时间
    private Long AgreeBackTime;             // 同意时间
    private String currencyUnit;            // 货币单位
    private Double exchangeRate;            // 金额汇率
    private Double fcTotalPrice;            // 实际退款金额（主要是显示为美元）
    private String note;                     // 备注
    private Integer isPartCancelApply;          // 是否申请退款
    private String refundNo;                // 退款订单编号
    private String extra1;                  // 备用字段
    private String extra2;                  // 备用字段
    private String extra3;                   // 备用字段
    private int delFlag = 0;                // 是否删除
    private String createUser;              // 创建者
    private Long createTime;                // 创建时间
    private String updateUser;              // 更新者
    private Date updateTime;                // 更新时间

    public Long getId() {
        return id;
    }

    public OrderCancelInfo setId(Long id) {
        this.id = id;
        return this;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public OrderCancelInfo setOrderNo(String orderNo) {
        this.orderNo = orderNo;
        return this;
    }

    public String getParentOrderNo() {
        return parentOrderNo;
    }

    public OrderCancelInfo setParentOrderNo(String parentOrderNo) {
        this.parentOrderNo = parentOrderNo;
        return this;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public OrderCancelInfo setOrderType(Integer orderType) {
        this.orderType = orderType;
        return this;
    }

    public Long getShopId() {
        return shopId;
    }

    public OrderCancelInfo setShopId(Long shopId) {
        this.shopId = shopId;
        return this;
    }

    public String getUsername() {
        return username;
    }

    public OrderCancelInfo setUsername(String username) {
        this.username = username;
        return this;
    }

    public String getImage1Url() {
        return image1Url;
    }

    public OrderCancelInfo setImage1Url(String image1Url) {
        this.image1Url = image1Url;
        return this;
    }

    public String getImage2Url() {
        return image2Url;
    }

    public OrderCancelInfo setImage2Url(String image2Url) {
        this.image2Url = image2Url;
        return this;
    }

    public String getImage3Url() {
        return image3Url;
    }

    public OrderCancelInfo setImage3Url(String image3Url) {
        this.image3Url = image3Url;
        return this;
    }

    public String getImage4Url() {
        return image4Url;
    }

    public OrderCancelInfo setImage4Url(String image4Url) {
        this.image4Url = image4Url;
        return this;
    }

    public String getBackReason() {
        return backReason;
    }

    public OrderCancelInfo setBackReason(String backReason) {
        this.backReason = backReason;
        return this;
    }

    public String getReBackReason() {
        return reBackReason;
    }

    public OrderCancelInfo setReBackReason(String reBackReason) {
        this.reBackReason = reBackReason;
        return this;
    }

    public Integer getBackTotalCount() {
        return backTotalCount;
    }

    public OrderCancelInfo setBackTotalCount(Integer backTotalCount) {
        this.backTotalCount = backTotalCount;
        return this;
    }

    public Double getBackTotalMoney() {
        return backTotalMoney;
    }

    public OrderCancelInfo setBackTotalMoney(Double backTotalMoney) {
        this.backTotalMoney = backTotalMoney;
        return this;
    }

    public Double getBackTotalGoodsMoney() {
        return backTotalGoodsMoney;
    }

    public OrderCancelInfo setBackTotalGoodsMoney(Double backTotalGoodsMoney) {
        this.backTotalGoodsMoney = backTotalGoodsMoney;
        return this;
    }

    public Double getBackTotalPacketMoney() {
        return backTotalPacketMoney;
    }

    public OrderCancelInfo setBackTotalPacketMoney(Double backTotalPacketMoney) {
        this.backTotalPacketMoney = backTotalPacketMoney;
        return this;
    }

    public Double getFcBackTotalMoney() {
        return fcBackTotalMoney;
    }

    public OrderCancelInfo setFcBackTotalMoney(Double fcBackTotalMoney) {
        this.fcBackTotalMoney = fcBackTotalMoney;
        return this;
    }

    public Double getFcBackTotalGoodsMoney() {
        return fcBackTotalGoodsMoney;
    }

    public OrderCancelInfo setFcBackTotalGoodsMoney(Double fcBackTotalGoodsMoney) {
        this.fcBackTotalGoodsMoney = fcBackTotalGoodsMoney;
        return this;
    }

    public Double getFcBackTotalPacketMoney() {
        return fcBackTotalPacketMoney;
    }

    public OrderCancelInfo setFcBackTotalPacketMoney(Double fcBackTotalPacketMoney) {
        this.fcBackTotalPacketMoney = fcBackTotalPacketMoney;
        return this;
    }

    public Long getReBackTime() {
        return reBackTime;
    }

    public OrderCancelInfo setReBackTime(Long reBackTime) {
        this.reBackTime = reBackTime;
        return this;
    }

    public Long getAgreeBackTime() {
        return AgreeBackTime;
    }

    public OrderCancelInfo setAgreeBackTime(Long agreeBackTime) {
        AgreeBackTime = agreeBackTime;
        return this;
    }

    public String getCurrencyUnit() {
        return currencyUnit;
    }

    public OrderCancelInfo setCurrencyUnit(String currencyUnit) {
        this.currencyUnit = currencyUnit;
        return this;
    }

    public Double getExchangeRate() {
        return exchangeRate;
    }

    public OrderCancelInfo setExchangeRate(Double exchangeRate) {
        this.exchangeRate = exchangeRate;
        return this;
    }

    public Double getFcTotalPrice() {
        return fcTotalPrice;
    }

    public OrderCancelInfo setFcTotalPrice(Double fcTotalPrice) {
        this.fcTotalPrice = fcTotalPrice;
        return this;
    }

    public String getNote() {
        return note;
    }

    public OrderCancelInfo setNote(String note) {
        this.note = note;
        return this;
    }

    public Integer getIsPartCancelApply() {
        return isPartCancelApply;
    }

    public OrderCancelInfo setIsPartCancelApply(Integer isPartCancelApply) {
        this.isPartCancelApply = isPartCancelApply;
        return this;
    }

    public String getRefundNo() {
        return refundNo;
    }

    public OrderCancelInfo setRefundNo(String refundNo) {
        this.refundNo = refundNo;
        return this;
    }

    public String getExtra1() {
        return extra1;
    }

    public OrderCancelInfo setExtra1(String extra1) {
        this.extra1 = extra1;
        return this;
    }

    public String getExtra2() {
        return extra2;
    }

    public OrderCancelInfo setExtra2(String extra2) {
        this.extra2 = extra2;
        return this;
    }

    public String getExtra3() {
        return extra3;
    }

    public OrderCancelInfo setExtra3(String extra3) {
        this.extra3 = extra3;
        return this;
    }

    public int getDelFlag() {
        return delFlag;
    }

    public OrderCancelInfo setDelFlag(int delFlag) {
        this.delFlag = delFlag;
        return this;
    }

    public String getCreateUser() {
        return createUser;
    }

    public OrderCancelInfo setCreateUser(String createUser) {
        this.createUser = createUser;
        return this;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public OrderCancelInfo setCreateTime(Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public OrderCancelInfo setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
        return this;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public OrderCancelInfo setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
        return this;
    }
}